package com.nbst.model.mes;

import com.nbst.model.base.OrderBy;

/**
 * @ClassName: ItemBase
 * @Description:物料树
 * @author King
 * @date 2018年11月15日
 * 
 */
public class ItemBase extends OrderBy {

	/**物料代码*/
	private String id;

	/**名称*/
	private String fName;

	/**型号规格*/
	private String fModel;

	/**总需求量*/
	private Double fTotal;

	/**库存数量*/
	private Double fStockQty;

	/**在制数*/
	private Double fPpQty;

	/**差值*/
	private Double fDifference;

	/**单位*/
	private String fUnit;

	/**父级物料代码*/
	private String pId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName;
	}

	public String getfModel() {
		return fModel;
	}

	public void setfModel(String fModel) {
		this.fModel = fModel;
	}

	public Double getfTotal() {
		return fTotal;
	}

	public void setfTotal(Double fTotal) {
		this.fTotal = fTotal;
	}

	public Double getfStockQty() {
		return fStockQty;
	}

	public void setfStockQty(Double fStockQty) {
		this.fStockQty = fStockQty;
	}

	public Double getfPpQty() {
		return fPpQty;
	}

	public void setfPpQty(Double fPpQty) {
		this.fPpQty = fPpQty;
	}

	public Double getfDifference() {
		return fDifference;
	}

	public void setfDifference(Double fDifference) {
		this.fDifference = fDifference;
	}

	public String getfUnit() {
		return fUnit;
	}

	public void setfUnit(String fUnit) {
		this.fUnit = fUnit;
	}

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}

	@Override
	public String toString() {
		return "ItemBase [id=" + id + ", fName=" + fName + ", fModel=" + fModel + ", fTotal=" + fTotal + ", fStockQty="
				+ fStockQty + ", fPpQty=" + fPpQty + ", fDifference=" + fDifference + ", fUnit=" + fUnit + ", pId="
				+ pId + "]";
	}
}
